interface UserInfo {
  UserID?: string;
  UserType?: number | string;
  SchoolID?: string;
  UserName?: string;
}

export interface CommonDataProps {
  userInfo: UserInfo;
  moduleInfo: object;
  identityCode: string | undefined;
  mainServer: string | undefined;
  env: string;
  lg_ic: string;
  token: string;
  baseUrl: string;
  noticeAddr: string;
  officeAddr: string;
  termInfo: object;
  isEdu: boolean;
  ResourceServerAddr: string;
  PublicInfoServerAddr: string;
  showMessage: string;
  chatUrl: string;
  currentSystem: System;
}

export type System = {
  sysId?: string;
  sysName?: string;
  globalPush?: string;
  sceneList?: SceneList[];
};

export type SceneList = {
  sceneId?: string;
  sceneName?: string;
  eventList?: EventList[];
};

export type EventList = {
  eventId?: string;
  eventContent?: string;
  appletsPush?: string;
  todoPush?: string;
  sysPush?: string;
  appPush?: string;
  mailPush?: string;
  smsPush?: string;
  noticeTarget?:string
};
